package Exception;


public class ExceptionAPI {
    public static void main(String[] args) {
        String str="abc";
        try {
            System.out.println(Integer.parseInt(str));
        }catch (Exception e){
//            e.printStackTrace();
            System.out.println(e.getMessage());
        }
    }
}
